package com.zhongwang.mms.module.buy.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhongwang.mms.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @Description: 提报计划 Model
 * @Author: China.sgl
 * @Date: 2020/4/7 15:46
 */
@SuppressWarnings("ALL")
@Data
@EqualsAndHashCode(callSuper = true)
public class ImportReportPlanModel extends BaseModel {

    /**
     * 主键
     */
    @ExcelIgnore
    private Integer rppId;

    /**
     * 项目数量
     */
    @ExcelProperty(value = "项目数量", index = 0)
    @NumberFormat("#")
    private Double rppProjectNum;

    /**
     * 采购类型
     */
    @ExcelProperty(value = "采购类型（必填）", index = 1)
    private String rppTypes;

    /**
     * 部分
     */
    @ExcelProperty(value = "部分", index = 2)
    private String rppPart;

    /**
     * 物料类型
     */
    @ExcelProperty(value = "物料类型", index = 3)
    private String rppMalType;

    /**
     * 物料描述
     */
    @ExcelProperty(value = "物料描述（必填）", index = 4)
    private String rppMatDesc;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量（必填）", index = 5)
    @NumberFormat("#.##")
    private Double rppNum;

    /**
     * 单位
     */
    @ExcelProperty(value = "单位（必填）", index = 6)
    private String rppUnit;

    /**
     * 型号/标准号
     */
    @ExcelProperty(value = "型号/标准号", index = 7)
    private String rppStandardNo;

    /**
     * 品牌
     */
    @ExcelProperty(value = "品牌", index = 8)
    private String rppBrand;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注", index = 9)
    private String rppRemark;

    /**
     * 项目编号
     */
    @ExcelProperty(value = "项目编号（必填）", index = 10)
    private String rppProjectCode;

    /**
     * 项目名称
     */
    @ExcelProperty(value = "项目名称（必填）", index = 11)
    private String rppProjectName;

    /**
     * 计划号
     */
    @ExcelProperty(value = "计划号（必填）", index = 12)
    private String rppPlanNo;

    /**
     * 是否使用库存（必填）
     */
    @ExcelProperty(value = "是否使用库存", index = 13)
    private String rppUseStoreStr;

    /**
     * 图号（如果采购类型是外协件则此项必填）
     */
    @ExcelProperty(value = "图号（如果采购类型是外协件则此项必填）", index = 14)
    private String rppDiagram;

    /**
     * 外协类型（如果采购类型是外协件则此项必填）
     */
    @ExcelProperty(value = "外协类型（如果采购类型是外协件则此项必填）", index = 15)
    private String rppAssistType;

    /**
     * 提报人（必填）
     */
    @ExcelProperty(value = "提报人", index = 16)
    private String rppDesigner;

    /**
     * 提报人联系方式（必填）
     */
    @ExcelProperty(value = "提报人联系方式", index = 17)
    private String rppDesignerTel;

    /**
     * 提报计划员（物控员）
     */
    @ExcelProperty(value = "计划员（必填）", index = 18)
    private String rppPlanner;

    /**
     * 补录原因（必填）
     */
    @ExcelProperty(value = "补录原因（必填）", index = 19)
    private String rppSupReasons;

    /**
     * 错误信息
     */
    @ExcelProperty(value = "错误信息", index = 20)
    private String reason;

    /**
     * 创建时间
     */
    @ExcelIgnore
    private Date rppCreateTime;

    /**
     * 拆分标识
     */
    @ExcelIgnore
    private Integer rppOriginalFlag;

    /**
     * 提交状态
     */
    @ExcelIgnore
    private Integer rppStatus;

    /**
     * 是否不可撤消拆分  1=是 2=否
     */
    @ExcelIgnore
    private Integer rppAllowCancel;

    /**
     * 提报类型
     */
    @ExcelIgnore
    private Integer rppUseStock;

    /**
     * 采购类型
     */
    @ExcelIgnore
    private Integer rppTypeId;

    /**
     * 创建用户
     */
    @ExcelIgnore
    private String rppCreateUser;

    /**
     * 是否指定库存
     */
    @ExcelIgnore
    private Integer rppIsFlag;




    @ExcelIgnore
    private String rppMatCode;
    @ExcelIgnore
    private Double rppRealNum;
    @ExcelIgnore
    private Double rppOverNum;
    @ExcelIgnore
    private Integer rppSppId;
    @ExcelIgnore
    private Integer rppSrcId;
    @ExcelIgnore
    private Integer rppStockId;
    @ExcelIgnore
    private Integer rppSubFlag;
    @ExcelIgnore
    private String rppItyType;
    @ExcelIgnore
    private String rppChange;
    @ExcelIgnore
    private Integer rppAppend;
    @ExcelIgnore
    private Integer rppOdaId;
    @ExcelIgnore
    private Integer rppRetStatus;
    @ExcelIgnore
    private Integer rppAppendId;
    @ExcelIgnore
    private Integer rppChangeMark;
    @ExcelIgnore
    private Date rppDelTime;
    @ExcelIgnore
    private String rppAssignDesc;
    @ExcelIgnore
    private String rppProduceCode;
    @ExcelIgnore
    private Date rppEditTime;
    @ExcelIgnore
    private Date rppCommitTime;
    @ExcelIgnore
    private String rppDelReason;
    @ExcelIgnore
    private String rppPlannerRemark;
    @ExcelIgnore
    private Integer rppUseStore;
    @ExcelIgnore
    private String rppDesignerDept;
    @ExcelIgnore
    private Integer rppResultId;
    @ExcelIgnore
    private Integer rppPostPlannerStatus;
    @ExcelIgnore
    private Integer rppEditFlag;
    @ExcelIgnore
    private String rppExtendUrl;
    @ExcelIgnore
    private Date rppRecTime;
    @ExcelIgnore
    private Date rppChangeTime;
    @ExcelIgnore
    private Integer rppAncestorsId;
    @ExcelIgnore
    private String rppSplitPlanType;
    @ExcelIgnore
    private Double rppAssignUseStockPrice;
    @ExcelIgnore
    private Date rppAssignDate;
    @ExcelIgnore
    private Double rppBuyPrice;
    @ExcelIgnore
    private Date rppConfirmReturnDate;
}
